package com.kbbywyclient.ui.contarct;

import com.kbbywyclient.data.entity.TabledBuy;
import com.kbbywyclient.data.entity.CreditCardTableMenu;
import com.kbbywyclient.data.entity.ResultInfoCre;
import com.kbbywyclient.ui.contarct.base.IBaseView;

import java.util.List;

/**
 * Description:
 * Created by FHW
 * on 2017/4/17
 */

public class CustomerTableContarct {
    public interface View extends IBaseView {
        //客户表单表单
        void loadSucCustomerTable(List<ResultInfoCre> resultInfoList);

        void loadFaiCustomerTable(String errorMsg);

        void setAdapterOrNotify(List<ResultInfoCre> resultInfoList);

        void setNoMore();

        void setMoreComplete();

        //信用卡申请表筛选菜单
        void loadSucMenu(CreditCardTableMenu creditCardTableMenu);

        void loadFaiMenu(String errorMsg);

        //购买客户表

        void loadSucCreditCarBuy(TabledBuy tabledBuy, String buyType);

        void loadFaiCreditCarBuy(String errorMsg);

    }

    public interface Presenter {

        void getCreditCardOrders(boolean isClean, String SalesID, String Dist, String Education, String UnitNature, String CreditCard);

        void getCreditCardMenu(String SalesID);

        void getApplyCreditCardBuy(String SalesID, String ApplyCreditCardID, String ApplyCreditCardSN, String BuyType);

    }
}
